# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class EsLogEvent(object):

    def __init__(self, accessTime=None, remoteAddr=None, remotePort=None, domain=None, area=None, method=None, url=None, payLoad=None, status=None, logType=None, action=None, requestId=None, upstreamErr=None, timeLocal=None, hostname=None, bytesSent=None, requestLength=None, host=None, serverAddr=None, serverPort=None, upstreamHttpName=None, upstreamAddr=None, upstreamHttpPort=None, upstreamConnectTime=None, upstreamHeaderTime=None, upstreamResponseTime=None, requestTime=None, httpUserAgent=None, antiReason=None, httpReferer=None, scheme=None, uri=None, sentHttpContentRange=None, antiRemoteAddr=None, antiStatus=None, antiReqRaw=None, antiRespRaw=None, antiGeo=None, antiRiskFid=None, antiRiskRaw=None):
        """
        :param accessTime: (Optional) 产生时间
        :param remoteAddr: (Optional) 源ip
        :param remotePort: (Optional) 客户端port
        :param domain: (Optional) 域名
        :param area: (Optional) 来源地区
        :param method: (Optional) 方法
        :param url: (Optional) url
        :param payLoad: (Optional) 恶意负载
        :param status: (Optional) 响应信息
        :param logType: (Optional) 日志类型
        :param action: (Optional) 动作
        :param requestId: (Optional) 请求ID
        :param upstreamErr: (Optional) 回源错误信息
        :param timeLocal: (Optional) 日志记录时间
        :param hostname: (Optional) 本机域名
        :param bytesSent: (Optional) 响应长度
        :param requestLength: (Optional) 请求长度
        :param host: (Optional) 客户端请求的域名
        :param serverAddr: (Optional) jfe的server块监听IP
        :param serverPort: (Optional) jfe的server块监听port
        :param upstreamHttpName: (Optional) 请求所连接的upstream名称
        :param upstreamAddr: (Optional) 请求所连接的upstream服务器IP
        :param upstreamHttpPort: (Optional) 请求所连接的upstream服务器port
        :param upstreamConnectTime: (Optional) 等待upstream建立连接的时间
        :param upstreamHeaderTime: (Optional) 接收upstream请求头的时间
        :param upstreamResponseTime: (Optional) 接收upstream响应头的时间
        :param requestTime: (Optional) 请求处理时间
        :param httpUserAgent: (Optional) 请求头的UA字段
        :param antiReason: (Optional) 攻击类型
        :param httpReferer: (Optional) 请求来源
        :param scheme: (Optional) 请求协议
        :param uri: (Optional) uri
        :param sentHttpContentRange: (Optional) 断点续传响应分片位置
        :param antiRemoteAddr: (Optional) 客户端IP
        :param antiStatus: (Optional) 原响应码
        :param antiReqRaw: (Optional) 命中规则请求原始请求报文
        :param antiRespRaw: (Optional) 命中规则请求原始响应报文
        :param antiGeo: (Optional) 来源地域信息
        :param antiRiskFid: (Optional) 指纹ID
        :param antiRiskRaw: (Optional) 指纹采集详细信息
        """

        self.accessTime = accessTime
        self.remoteAddr = remoteAddr
        self.remotePort = remotePort
        self.domain = domain
        self.area = area
        self.method = method
        self.url = url
        self.payLoad = payLoad
        self.status = status
        self.logType = logType
        self.action = action
        self.requestId = requestId
        self.upstreamErr = upstreamErr
        self.timeLocal = timeLocal
        self.hostname = hostname
        self.bytesSent = bytesSent
        self.requestLength = requestLength
        self.host = host
        self.serverAddr = serverAddr
        self.serverPort = serverPort
        self.upstreamHttpName = upstreamHttpName
        self.upstreamAddr = upstreamAddr
        self.upstreamHttpPort = upstreamHttpPort
        self.upstreamConnectTime = upstreamConnectTime
        self.upstreamHeaderTime = upstreamHeaderTime
        self.upstreamResponseTime = upstreamResponseTime
        self.requestTime = requestTime
        self.httpUserAgent = httpUserAgent
        self.antiReason = antiReason
        self.httpReferer = httpReferer
        self.scheme = scheme
        self.uri = uri
        self.sentHttpContentRange = sentHttpContentRange
        self.antiRemoteAddr = antiRemoteAddr
        self.antiStatus = antiStatus
        self.antiReqRaw = antiReqRaw
        self.antiRespRaw = antiRespRaw
        self.antiGeo = antiGeo
        self.antiRiskFid = antiRiskFid
        self.antiRiskRaw = antiRiskRaw
